// 颜色
@primary-color: #409EFF;
// @primary-color: #23C8D2;
@primary-light-color: #d6e4ff;
@primary-lightI-color: #f3f7ff;

@error-light-color: #ffd3d1;
@error-color: #ff5d55;
@warn-color: #ff8a00;
@success-color: #7ecf99;

@text-color: #383838;
@grey-color: #aaa;
@sub-grey-color: #e5e5e5;

@htmlPadding: 15px;

.dv-shadow(@blur: 40px, @opacity: 0.15) {
  box-shadow: 0 0 @blur 0 rgba(0, 0, 0, @opacity);
}

// 布局
.border-box-padding(@padding: 15px 20px) {
  box-sizing: border-box;
  padding: @padding;
}

.fl(@dp: flex, @jc: center, @ai: center) {
  display: @dp;
  justify-content: @jc;
  align-items: @ai;
}

// 文本超出用省略号
.ellipsis() {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
}
